import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 清除默认样式
import './assets/css/reset.css'
// 滚动条样式
import './assets/css/scrollbar.css'
// 跟随系统深色模式和浅色模式的颜色样式
import './assets/css/color.css'

// vant
import 'vant/lib/index.css'
import { Tabbar,TabbarItem,Switch,List } from "vant";
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Switch)
Vue.use(List)

// 水波纹
import Ripple from "vue-ripple-directive";
Vue.directive('ripple',Ripple)
Ripple.color = 'rgba(0, 0, 0, 0.2)'

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
